package com.ruoyi.system.domain;

import com.alibaba.fastjson2.JSONArray;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 工艺路线对象 a_process_route
 * 
 * @author ruoyi
 * @date 2025-03-17
 */
public class AProcessRoute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 组织 */
    @Excel(name = "组织")
    private String groupId;

    /** 配方id */
    @Excel(name = "配方id")
    private String processid;

    /** 顺序 */
    @Excel(name = "顺序")
    private String route;

    /** 工序 */
    @Excel(name = "工序")
    private String step;

    /** 是否启用浆料批次 */
    @Excel(name = "是否启用浆料批次")
    private String jlflag;

    /** 一三道浆料（id） */
    @Excel(name = "一三道浆料", readConverterExp = "i=d")
    private JSONArray jlbatchA;

    /** 二四道浆料(id) */
    @Excel(name = "二四道浆料(id)")
    private JSONArray jlbatchB;

    /** 是否启用网版批次 */
    @Excel(name = "是否启用网版批次")
    private String wbflag;

    /** 一道网版(id) */
    @Excel(name = "一道网版(id)")
    private JSONArray wbbatchA;

    /** 二道网版(id) */
    @Excel(name = "二道网版(id)")
    private JSONArray wbbatchB;

    /** 三道网版(id) */
    @Excel(name = "三道网版(id)")
    private JSONArray wbbatchC;

    /** 四道网版(id) */
    @Excel(name = "四道网版(id)")
    private JSONArray wbbatchD;

    /** 是否启用发料批 */
    @Excel(name = "是否启用发料批")
    private String flflag;

    /** 发料批次(id) */
    @Excel(name = "发料批次(id)")
    private JSONArray flbatch;

    /** 机台(id) */
    @Excel(name = "机台(id)")
    private JSONArray eqpid;

    /** 工艺路线id */
    @Excel(name = "工艺路线id")
    private String routeId;

    /** 工艺路线名称 */
    @Excel(name = "工艺路线名称")
    private String routeName;

    /** 排序 */
    @Excel(name = "排序")
    private Long stepSort;

    /** 是否完工 */
    @Excel(name = "是否完工")
    private String endflag;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String stepName;

    /** 路线分类 */
    @Excel(name = "路线分类")
    private String routeType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getProcessid() {
        return processid;
    }

    public void setProcessid(String processid) {
        this.processid = processid;
    }

    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }

    public String getStep() {
        return step;
    }

    public void setStep(String step) {
        this.step = step;
    }

    public String getJlflag() {
        return jlflag;
    }

    public void setJlflag(String jlflag) {
        this.jlflag = jlflag;
    }

    public JSONArray getJlbatchA() {
        return jlbatchA;
    }

    public void setJlbatchA(JSONArray jlbatchA) {
        this.jlbatchA = jlbatchA;
    }

    public JSONArray getJlbatchB() {
        return jlbatchB;
    }

    public void setJlbatchB(JSONArray jlbatchB) {
        this.jlbatchB = jlbatchB;
    }

    public String getWbflag() {
        return wbflag;
    }

    public void setWbflag(String wbflag) {
        this.wbflag = wbflag;
    }

    public JSONArray getWbbatchA() {
        return wbbatchA;
    }

    public void setWbbatchA(JSONArray wbbatchA) {
        this.wbbatchA = wbbatchA;
    }

    public JSONArray getWbbatchB() {
        return wbbatchB;
    }

    public void setWbbatchB(JSONArray wbbatchB) {
        this.wbbatchB = wbbatchB;
    }

    public JSONArray getWbbatchC() {
        return wbbatchC;
    }

    public void setWbbatchC(JSONArray wbbatchC) {
        this.wbbatchC = wbbatchC;
    }

    public JSONArray getWbbatchD() {
        return wbbatchD;
    }

    public void setWbbatchD(JSONArray wbbatchD) {
        this.wbbatchD = wbbatchD;
    }

    public String getFlflag() {
        return flflag;
    }

    public void setFlflag(String flflag) {
        this.flflag = flflag;
    }

    public JSONArray getFlbatch() {
        return flbatch;
    }

    public void setFlbatch(JSONArray flbatch) {
        this.flbatch = flbatch;
    }

    public JSONArray getEqpid() {
        return eqpid;
    }

    public void setEqpid(JSONArray eqpid) {
        this.eqpid = eqpid;
    }

    public String getRouteId() {
        return routeId;
    }

    public void setRouteId(String routeId) {
        this.routeId = routeId;
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName;
    }

    public Long getStepSort() {
        return stepSort;
    }

    public void setStepSort(Long stepSort) {
        this.stepSort = stepSort;
    }

    public String getEndflag() {
        return endflag;
    }

    public void setEndflag(String endflag) {
        this.endflag = endflag;
    }

    public String getStepName() {
        return stepName;
    }

    public void setStepName(String stepName) {
        this.stepName = stepName;
    }

    public String getRouteType() {
        return routeType;
    }

    public void setRouteType(String routeType) {
        this.routeType = routeType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("processid", getProcessid())
            .append("route", getRoute())
            .append("step", getStep())
            .append("jlflag", getJlflag())
            .append("jlbatchA", getJlbatchA())
            .append("jlbatchB", getJlbatchB())
            .append("wbflag", getWbflag())
            .append("wbbatchA", getWbbatchA())
            .append("wbbatchB", getWbbatchB())
            .append("wbbatchC", getWbbatchC())
            .append("wbbatchD", getWbbatchD())
            .append("flflag", getFlflag())
            .append("flbatch", getFlbatch())
            .append("eqpid", getEqpid())
            .append("routeId", getRouteId())
            .append("routeName", getRouteName())
            .append("stepSort", getStepSort())
            .append("endflag", getEndflag())
            .append("stepName", getStepName())
            .append("routeType", getRouteType())
            .toString();
    }
}
